package com.carbonspark.ecoquest.domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (TaskRules)实体类
 *
 * @author makejava
 * @since 2025-03-25 17:31:31
 */
public class TaskRulesBO implements Serializable {
    private static final long serialVersionUID = -76124698568167793L;

    private Long id;
/**
     * 外键，关联挑战任务的id
     */
    private Long taskId;
/**
     * 规则对应的天数，例如“Day 1”, “Day 2”
     */
    private Integer ruleDay;
/**
     * 规则标题，例如“自带购物袋”。
     */
    private String ruleTitle;
/**
     * 规则描述，详细说明规则内容。
     */
    private String ruleDescription;
/**
     * 创建人
     */
    private String createdBy;
/**
     * 创建时间
     */
    private Date createdTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 更新人
     */
    private String updateBy;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Integer getRuleDay() {
        return ruleDay;
    }

    public void setRuleDay(Integer ruleDay) {
        this.ruleDay = ruleDay;
    }

    public String getRuleTitle() {
        return ruleTitle;
    }

    public void setRuleTitle(String ruleTitle) {
        this.ruleTitle = ruleTitle;
    }

    public String getRuleDescription() {
        return ruleDescription;
    }

    public void setRuleDescription(String ruleDescription) {
        this.ruleDescription = ruleDescription;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

}

